package cn.iocoder.yudao.module.member.controller.admin.user.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 客户 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MemberUserRespVO extends MemberUserBaseVO {

    @Schema(description = "编号")
    private Long id;

    @Schema(description = "注册 IP")
    private String registerIp;

    @Schema(description = "最后登录IP")
    private String loginIp;

    @Schema(description = "最后登录时间")
    private LocalDateTime loginDate;

    @Schema(description = "注册终端")
    private Integer registerTerminal;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "积分")
    private Integer point;

    @Schema(description = "订单数量")
    private Integer orderCount;

    @Schema(description = "会员等级")
    private String levelName;

    @Schema(description = "用户分组")
    private String groupName;


    @Schema(description = "燃气户列表")
    private List<CrmMemberUserRespVO> crmMemberUserRespVOList;

    @Schema(description = "账户余额")
    private Integer balance;
    @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String password;
    @Schema(description = "经验")
    private Integer experience;

    private int isDefault;

}
